package com.itheima.service.impl;

import com.itheima.service.BookService;

import java.util.Date;

/**
 * @author 刘全
 * @date 2021/9/11
 */
public class BookServiceImpl implements BookService {
    private String name;
    private int age;
    private String gender;
    private Date date;

    public void setDate(Date date) {
        this.date = date;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    @Override
    public void save() {
        System.out.println("Book com.itheima.service"+name+age+gender );
        System.out.println(date);
    }
}
